package explorandum.g6;

public class Cell {
	private int terrain;
	private boolean explorer;

	//Other cell attributes:
	//earliest time seen and distance at time
	//closest distance seen and time
	
	public Cell(int terrain, boolean explorer) {
		this.terrain = terrain;
		this.explorer = explorer;
	}

	public int getTerrainType() {
		return terrain;
	}
	
	public boolean hasExplorer() {
		return explorer;
	}
	
	public boolean equals(Cell other) {
		return terrain == other.terrain && explorer == other.explorer;
	}
}
